Gets or sets a pattern corresponding to a correct response of the type defined by Interaction.InteractionType.
Parent Type: CorrectResponse
Namespace: Microsoft.LearningComponents.DataModel
Assembly: Microsoft.LearningComponents.dll
| C# |
|
public string Pattern { get; set; } |
| Exception type | Condition |
| InvalidOperationException | Thrown if this LearningDataModel object cannot be written to. |
| ArgumentOutOfRangeException | Thrown if the string passed is longer than BaseSchemaInternal.CorrectResponseItem.MaxResponsePatternLength characters in SCORM 2004 packages, or longer than 255 in SCORM 1.2 packages. |
In SCORM 2004, this corresponds to cmi.interactions.n.correct_responses.n.pattern.
In SCORM 1.2, this corresponds to cmi.interactions.n.correct_responses.n.pattern.
For the exact definition of the format of this value, see the SCORM 2004 specification, RTE 4.2.9.1a.
This information is not checked for compliance with the SCORM specification, except for length.
If the value has not been set before it is accessed, null is returned.